layui.use(['form','layer'], function(){
    var form = layui.form;
    var layer = layui.layer;
    //监听提交
    form.on('submit(formDemo)', function(data){
        layer.msg(JSON.stringify(data.field));
        queding();
        return false;
    });
    form.on('radio(shenhe)',function (data) {
        var result = data.value;
        if(result=="yes"){
            result="1";
        }else{
            result="3";
        }
        localStorage.setItem("result",result);
    });
});